package com.atguigu.gmall.product.mapper;

import com.atguigu.gmall.model.product.BaseAttrInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author atguigu-mqx
 * @Description TODO
 * @Date 2023/7/5 14:29
 * @Version 1.0
 */

public interface BaseAttrInfoMapper extends BaseMapper<BaseAttrInfo> {
    /**
     * 根据分类Id 查询平台属性集合
     * @param category1Id
     * @param category2Id
     * @param category3Id
     * @return
     */
//    List<BaseAttrInfo> selectAttrInfoList(@Param("category1Id") Long category1Id, @Param("category2Id")Long category2Id, @Param("category3Id")Long category3Id);
    List<BaseAttrInfo> selectAttrInfoList( Long category1Id, Long category2Id, Long category3Id);

    /**
     *
     * @param skuId
     * @return
     */
    List<BaseAttrInfo> selectAttrsInfoList(Long skuId);
}
